package com.huluobo.high3videoproject.startLive.model;

import com.huluobo.high3videoproject.bean.StartLiveBeanResult;
import com.huluobo.high3videoproject.bean.StopLiveBeanResult;
import com.huluobo.high3videoproject.net.BaseModel;
import com.huluobo.high3videoproject.startLive.presenter.StartLiveContract;

import io.reactivex.Observable;

public class StartLiveModel extends BaseModel implements StartLiveContract.Model {
    @Override
    public Observable<StartLiveBeanResult> startLive(String address, String caption) {
        return apiService.startLive(address, caption);
    }

    @Override
    public Observable<StopLiveBeanResult> stopLive() {
        return apiService.stopLive();
    }
}
